package sy.dao;

import java.io.Serializable;
import java.util.List;

import sy.model.SysOwnerRenterMapping;
import sy.util.ResultJson;

public interface SysOwnerRenterMappingDaoI {
	
	Serializable save(SysOwnerRenterMapping sysOwnerRenterMapping);
	
	void remove(SysOwnerRenterMapping sysOwnerRenterMapping);
	
	void update(SysOwnerRenterMapping sysOwnerRenterMapping);
	
	List<SysOwnerRenterMapping> list();
	
	SysOwnerRenterMapping getSysOwnerRenterMappingById(String id);
	
	List<SysOwnerRenterMapping> listSysOwnerRenterMappingByKey(String key);
	
	Serializable deleteRenterVisitor(String ownerId, String renterOrvisitorId);
	
	List<SysOwnerRenterMapping> listSysOwnerRenterMappingByRentorId(String renterId);
	

}
